﻿using System;
using System.Drawing;
namespace Moonlite.ExtensionApi.XimlInterfaces
{
    public class BarItemDescriptor : DescriptorBase
    {
        private Image icon;
        private string text;
        private int index;
        private bool separator;
        private Type commandType;
        public Image Icon
        {
            get { return icon; }
            set { icon = value; }
        }
        public string Text
        {
            get { return text; }
            set { text = value; }
        }
        public int Index
        {
            get { return index; }
            set { index = value; }
        }
        public bool Separator
        {
            get { return separator; }
            set { separator = value; }
        }
        public Type CommandType
        {
            get { return commandType; }
            set { commandType = value; }
        }
        public override Type TargetObjectType
        {
            get { return ObjectTypes.BarItemObjectType; }
        }
        public BarItemDescriptor(IXimlNode node, DescriptorBase parent, string guid)
            : base(node, parent, guid)
        {
        }
    }
}
